﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ASale_QCPrint.aspx.cs" Inherits="ArtLand.OA.Project.AfterSale.ASale_QCPrint" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <script src="../js/jquery-1.4.1.min.js"></script>
    <script src="../js/jquery.jqprint-0.3.js"></script>
    <script src="../js/WebCommon.js"></script>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager runat="server" ID="pan" AutoSizePanelID="pan1" />
        <ext:Panel runat="server" ID="pan1" ShowHeader="false" Layout="Fit" ShowBorder="false">
            <Toolbars>
                <ext:Toolbar Position="Footer">
                    <Items>
                        <ext:Button runat="server" ID="btnSave" IconAlign="Top" Text="打印" Icon="Printer"  OnClientClick="PrintHtml();"></ext:Button>
                        <ext:ToolbarSeparator></ext:ToolbarSeparator>
                        <ext:Button runat="server" ID="btnT" Text="关闭" Icon="Cancel" IconAlign="Top" OnClientClick="window.close();"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
            <Items>
                <ext:ContentPanel ShowHeader="false" BodyPadding="2px" ShowBorder="false" AutoScroll="true" runat="server" ID="con1">
                    <style>
                        #mdA table, #mdA table td, #mdA table th
                        {
                            border: 1px solid #000000;
                            border-collapse: collapse;
                            font-size: 14px;
                            padding-left: 5px;
                        }
                    </style>
                    <table width="850" border="0" align="center">
                        <tr>
                            <td height="50" align="center">
                                <span style="font-size: 18px;">客户回访调查表</span>
                            </td>
                        </tr>
                    </table>
                    <div id="mdA">

                        <table width="850" border="0" align="center">
                            <tr>
                                <td width="80" valign="center" style="height: 40px;">
                                    <p>客户名称</p>
                                </td>
                                <td width="140" valign="center">
                                    <p><%=Info.CUSNAM %>
                                    </p>
                                </td>
                                <td width="80" valign="center">
                                    <p>地址</p>
                                </td>
                                <td width="170" valign="center">
                                    <p>
                                        <%=Info.ADDRES %>
                                    </p>
                                </td>
                                <td width="80" valign="center">
                                    <p>联系人</p>
                                </td>
                                <td width="170" valign="center">
                                    <p>
                                        <%=Info.CONTAT %>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td width="80" valign="center" style="height: 40px;">
                                    <p>电话</p>
                                </td>
                                <td width="140" valign="center">
                                    <p>
                                        <%=Info.TELNUB %>
                                    </p>
                                </td>
                                <td width="80" valign="center">
                                    <p>传真</p>
                                </td>
                                <td width="170" valign="center">
                                    <p>
                                        <%=Info.FOXNUB %>
                                    </p>
                                </td>
                                <td width="80" valign="center">
                                    <p>邮箱</p>
                                </td>
                                <td width="170" valign="center">
                                    <p>
                                        <%=Info.UEMAIL %>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td width="80" valign="center" style="height: 40px;">
                                    <p>回访人员</p>
                                </td>
                                <td width="140" valign="center">
                                    <p>
                                        <%=Info.ENGNAM %>
                                    </p>
                                </td>
                                <td width="80" valign="center">
                                    <p>时间</p>
                                </td>
                                <td width="170" valign="center" colspan="4">
                                    <div style="width: 300px; height: 40px; margin-top: 30px; margin-left: 5px;">
                                        <div style="float: left;">到达（开始）：</div>
                                        <div style="float: left;">
                                            <%=Info.FRTIME %>
                                        </div>
                                    </div>
                                    <div style="width: 300px; height: 40px; padding: 5px;">
                                        <div style="float: left;">离开（结束）：</div>
                                        <div style="float: left;">
                                            <%=Info.TOTIME %>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <td width="80" valign="center" style="height: 40px;">
                                    <p>购买时间</p>
                                </td>
                                <td width="140" valign="center" colspan="2">
                                    <p>
                                        <%=Info.PUTIME %>
                                    </p>
                                </td>
                                <td width="80" valign="center">
                                    <p>生产批次</p>
                                </td>
                                <td width="170" valign="center" colspan="2">
                                    <p>
                                        <%=Info.PDBACH %>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td width="80" valign="center" style="height: 50px;" colspan="2">
                                    <p>客户情况简介</p>
                                </td>
                                <td width="170" valign="center" colspan="4" style="padding-top: 5px;">
                                    <p>

                                        <%=Info.CUINFO %>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center">
                                    <p>产品使用情况：（稳定性？优势？问题点？需求？）</p>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center" style="padding-top: 5px;">
                                    <p>
                                        <%=Info.USAGEC %>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center">
                                    <p>服务质量（回访人员服务态度？项目配合及实施情况？优势/弱势？）</p>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center" style="padding-top: 5px;">
                                    <p>
                                        <%=Info.SRINFO %>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center">
                                    <p>客户意见与建议</p>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="6" align="center" style="padding-top: 5px;">
                                    <p>
                                        <%=Info.SUGTON %>
                                    </p>
                                </td>
                            </tr>
                            <tr>
                                <td width="80" valign="center" style="height: 40px;">
                                    <p>客户签字</p>
                                </td>
                                <td width="170" valign="center" colspan="5">
                                    <p>
                                        <%=Info.CUSIGN %>
                                    </p>
                                </td>
                            </tr>
                        </table>
                    </div>
                </ext:ContentPanel>
            </Items>
        </ext:Panel>

    </form>
    <script>
        function PrintHtml() {
            var c = "<%=con1.ClientID%>";
            $("#" + c).jqprint({
                debug: false,
                importCSS: true,
                printContainer: true,
                operaSupport: true
            });
        }
    </script>
</body>
</html>